<template>
<span>鼠标移动的x轴: {{ x }}</span>
<span>鼠标移动的y轴: {{ y }}</span>
</template>

<script setup lang="ts">
import { useMouse }  from '../../utils/mouse.js'
const { x, y } = useMouse()

</script>

<style scoped lang="scss">
span{
  text-align: center;
}
</style>
